package org.i1510.common.po;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name = "SYS_ORG")
public class SysOrg implements java.io.Serializable {

	// Fields

	private String docId;
	private String docSubject;
	private String docStatus;
	private String docCreator;
	private String docCreateTime;
	private String docLastor;
	private String docLastTime;
	
	/**
	 * 层次001_001
	 */
	private String level;

	/**
	 * 组织编码
	 */
	private String code;
	private String parentId;
	private String parentName;
	/**
	 * 所属集团ID
	 */
	private String groupId;
	/**
	 * 所属集团Name
	 */
	private String groupName;

	private Integer pnum;
	@Id
	@Column(name = "doc_id", nullable = false, length = 36)
	public String getDocId() {
		return docId;
	}

	public void setDocId(String docId) {
		this.docId = docId;
	}

	@Column(name = "doc_subject",  length = 100)
	public String getDocSubject() {
		return docSubject;
	}

	public void setDocSubject(String docSubject) {
		this.docSubject = docSubject;
	}

	@Column(name = "doc_status",  length = 2)
	public String getDocStatus() {
		return docStatus;
	}

	public void setDocStatus(String docStatus) {
		this.docStatus = docStatus;
	}

	@Column(name = "doc_creator",  length = 36)
	public String getDocCreator() {
		return docCreator;
	}

	public void setDocCreator(String docCreator) {
		this.docCreator = docCreator;
	}

	@Column(name = "doc_create_time",  length = 19) 
	public String getDocCreateTime() {
		return docCreateTime;
	}

	public void setDocCreateTime(String docCreateTime) {
		this.docCreateTime = docCreateTime;
	}

	@Column(name = "doc_lastor",  length = 36)
	public String getDocLastor() {
		return docLastor;
	}

	public void setDocLastor(String docLastor) {
		this.docLastor = docLastor;
	}

	@Column(name = "doc_last_time",  length = 19)
	public String getDocLastTime() {
		return docLastTime;
	}

	public void setDocLastTime(String docLastTime) {
		this.docLastTime = docLastTime;
	}

	@Column(name = "level",  length = 36)
	public String getLevel() {
		return level;
	}

	public void setLevel(String level) {
		this.level = level;
	}

	@Column(name = "parent_id",  length = 36)
	public String getParentId() {
		return parentId;
	}

	public void setParentId(String parentId) {
		this.parentId = parentId;
	}

	@Column(name = "parent_name",  length = 36)
	public String getParentName() {
		return parentName;
	}

	public void setParentName(String parentName) {
		this.parentName = parentName;
	}

	@Column(name = "group_id",  length = 36)
	public String getGroupId() {
		return groupId;
	}

	public void setGroupId(String groupId) {
		this.groupId = groupId;
	}

	@Column(name = "group_name",  length = 36)
	public String getGroupName() {
		return groupName;
	}

	public void setGroupName(String groupName) {
		this.groupName = groupName;
	}

	@Column(name = "code",  length = 36)
	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	@Column(name = "pnum",  length = 5)
	public Integer getPnum() {
		return pnum;
	}

	public void setPnum(Integer pnum) {
		this.pnum = pnum;
	}

	

}